﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Program12
{
    class Program
    {
        static void Main(string[] args)
        {
            string pwd1 = "1234";
            Console.WriteLine("密码明文是：" + pwd1);
            var md5Pwd = Encryption.GetMD5(pwd1);
            Console.WriteLine("MD5是：" + md5Pwd);

            string pwd2 = "1234";
            Console.WriteLine("密码明文是：" + pwd2);
            var shaPwd = Encryption.GetSHA(pwd2);
            Console.WriteLine("MD5是：" + shaPwd);

            string pwd3 = "1234";
            Console.WriteLine("密码明文是：" + pwd3);
            var enPwd = Encryption.GetEncryptString(pwd3);
            Console.WriteLine("MD5是：" + enPwd);

            Console.ReadLine();
        }
    }
}
